package org.micropayment.model.service;

import java.util.List;
import org.micropayment.model.ProviderResource;

/**
 *
 * @author jj
 */
public interface ProviderResourceDAO {

    public ProviderResource findById(String id);

    public List<ProviderResource> findAll();

    public List<ProviderResource> findList (int firstResult, int maxResults);
    
    public ProviderResource save(ProviderResource provider) ;

    public ProviderResource update(ProviderResource provider);

    public boolean delete(ProviderResource provider) ;
    
}
